package com.lnlyj.media.ui;

import android.annotation.SuppressLint;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.bumptech.glide.Glide;
import com.lnlyj.media.R;
import com.lnlyj.media.data.MediaItem;

import java.util.Locale;

import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;

/**
 * wanglei 2020-04-17
 */
public class MediaChildHolder extends RecyclerView.ViewHolder {

    ImageView imageView;
    TextView selectTv;
    View videoLayout;
    TextView duration;

    public MediaChildHolder(@NonNull View itemView) {
        super(itemView);
        imageView = itemView.findViewById(R.id.image);
        selectTv = itemView.findViewById(R.id.tv_select);
        videoLayout = itemView.findViewById(R.id.layout_video);
        duration = itemView.findViewById(R.id.tv_duration);
    }
}
